package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "sa_user_weixin")
public class UserWeixin extends AbstractEntity {

    private static final long serialVersionUID = 5535409481110171726L;

    public Long userId;

    public String openid;

    public String nickname;

    public Integer sex;

    public String city;

    public String province;

    public String country;

    public String headimgurl;

    public String privilege;

    public String unionid;

    public UserWeixin() {}

    public UserWeixin(Long id) {
        this.id = id;
    }
}
